package com.yy.ant.chat.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 群组
 * </p>
 *
 * @author liyingying
 * @since 2020-01-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("chat_flock")
public class Flock implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id;

    /**
     * 创建人
     */
    private Long userid;

    /**
     * 群名
     */
    private String groupname;

    /**
     * 头像
     */
    private String avatar;

    private LocalDateTime createdate;


}
